import request from '@/utils/request'

//查询未审核视频列表
export function listData(query) {
    return request({
      url: 'VideoReview/videoReviewList',
      method: 'get',
      params: query
    })
}

//查询审核通过视频列表
export function listDataT(query) {
  return request({
    url: 'VideoReview/videoReviewListT',
    method: 'get',
    params: query
  })
}

//查询审核拒绝视频列表
export function listDataW(query) {
  return request({
    url: 'VideoReview/videoReviewListW',
    method: 'get',
    params: query
  })
}

//审核视频
export function SHData(videoIds,data) {
  return request({
    url: 'VideoReview/shVideoById/' + videoIds,
    method: 'put',
    data:data
  })
}